package com.beeantec.jnrerc.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.beeantec.jnrerc.dto.CommentVo;
import com.beeantec.jnrerc.dto.CourseDTO;
import com.beeantec.jnrerc.dto.request.CommentListReqDTO;
import com.beeantec.jnrerc.entity.Comment;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author jiang zhuan
 * @version 1.0
 * @description 评论
 * @date 2020/9/22 0022
 * @package com.hunan.api.catv.dao
 * @company 湖南有线
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    List<Long> selectlistIdsExcludeFail(Comment comment);

    Integer countExcludeFail(Comment comment);

    IPage<Comment> paging(Page page, @Param("query") CommentListReqDTO query);

}
